{% extends "admin/change_list.html" %}

{% block object-tools-items %}
    {% if has_add_permission %}
        {% if perms.grades.change_grade %}
            <li>
                <a href="{% url ecwsp.grades.views.teacher_grade_submissions %}"> View Teacher Submissions </a>
            </li>
        {% endif %}
        {{ block.super }}
    {% endif %}
{% endblock %}
